<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>Thymeleaf3 + Servlet3 示例</title>
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"  crossorigin="anonymous">
</head>
<body>
<table class="table table-striped">
    <thead>
    <tr>
        <td>姓名</td>
        <td>密码</td>
        <td>年龄</td>
    </tr>
    </thead>
    <tbody>
    <tr th:each="student:${students}">
        <td th:text="${student.name}"></td>
        <td th:text="${student.password}"></td>
        <td th:text="${student.age}"></td>
    </tr>
    </tbody>
</table>
</body>
</html>